﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Resources;
using DemoMenu_01.Models.Language;

namespace DemoMenu_01.Models.Service
{
    /// <summary>
    /// ControllerExtent to extent controller and do something after that
    /// </summary>
    public class ControllerExtent : Controller
    {
        private static ResourceManager _resourceManager;
        public static ResourceManager resourceManager
        {
            get
            {
                if (_resourceManager != null)
                {
                    return _resourceManager;
                }
                else
                {
                    _resourceManager = new ResourceManager("DemoMenu_01.Models.Language.Lang_En", typeof(Lang_En).Assembly);
                    return _resourceManager;
                }
            }
        }
    }
}